package com.hopu.blb_erp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hopu.blb_erp.entity.*;
import com.hopu.blb_erp.mapper.SupplierMapper;
import com.hopu.blb_erp.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class SupplierServiceImpl extends ServiceImpl<SupplierMapper, Supplier> implements SupplierService {

    @Autowired
    private SupplierMapper supplierMapper;
    @Override
    public Supplier findSupplierById(Long id) {
        return   supplierMapper.selectSupplierById(id);
    }

}
